package com.wdh.cloud.product.serevice;

import com.wdh.cloud.domain.product.ProductEntity;
import com.wdh.cloud.product.mapper.ProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductService {

    @Autowired
    private ProductMapper productMapper;

    public ProductEntity getById(Integer id){
        return productMapper.selectById(id);
    }
}
